package com.welike.shibo.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author fangyu
 * @version v1.0.0
 * @since 2019-08-22 00:16
 */

@NoArgsConstructor
@Data
public class CommentVO {
    /**
     * nickname : BeJson
     * avatar : http://www.bejson.com
     * content :
     * comment_time :
     * at_type : 1
     * content_at : {"at_nickname":"测试2","at_user_id":"21321321321"}
     * author_reply : {"nickname":"Google","avator":"http://www.google.com","content":"http://www.google.com","at_type":0,"reply_time":"","contnt_at":{"at_nickname":"","at_user_id":""}}
     */

    private String nickname;
    private String avatar;
    private String content;
    private String comment_time;
    private int at_type;
    private ContentAtBean content_at;
    private AuthorReplyBean author_reply;

    @NoArgsConstructor
    @Data
    public static class ContentAtBean {
        /**
         * at_nickname : 测试2
         * at_user_id : 21321321321
         */

        private String at_nickname;
        private String at_user_id;
    }

    @NoArgsConstructor
    @Data
    public static class AuthorReplyBean {
        /**
         * nickname : Google
         * avator : http://www.google.com
         * content : http://www.google.com
         * at_type : 0
         * reply_time :
         * contnt_at : {"at_nickname":"","at_user_id":""}
         */

        private String nickname;
        private String avator;
        private String content;
        private int at_type;
        private String reply_time;
        private ContntAtBean contnt_at;

        @NoArgsConstructor
        @Data
        public static class ContntAtBean {
            /**
             * at_nickname :
             * at_user_id :
             */

            private String at_nickname;
            private String at_user_id;
        }
    }

//    private String uid;
//    private String avatar;
//    private String nickname;
//    private String content;
//    private Date contentTime;
//    private Integer atType;
//    private ContentAtVO contentAtVO;
//    private Map<String, Object> replyVO;



}
